package org.NooLab.glue.net.ftp;

import org.NooLab.glue.net.DataSlot;

 


/**
 * 
 * this is implemented by an inner class where the data is going to be used
 * i.e. the object created by the DataReceiverFactory of MessageBoard 
 * 
 */
public interface GlueFtpletHandlerIntf {

	/**
	 * this returns just the message already transformed into a string 
	 */
	public void getFtpMessageStr( String msg ) ;

	/**
	 * 
	 * this returns an object of type DataSlot, which contains a variable byte-array;
	 * such, the consumer can do anything on the transferred data, even reconstruct 
	 * an object;
	 * hence, the return type of this variant of the method is the generic Object 
	 * @param dataslot
	 * @return
	 */
	public void getFtpMessageObj( DataSlot dataslot ) ;
		
}
